
#include "Qabalah.h"


const char Qabalah::char2hebrew[256] = {
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,

	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,

	0,						HEBREW_ALEPH,		HEBREW_BETH,			HEBREW_CHETH,			// " abc"
	HEBREW_DALETH,		HEBREW_AAIN,		HEBREW_TAU,				HEBREW_GIMEL,			// "defg"
	HEBREW_HEH,			HEBREW_YOD,			HEBREW_SHIN,			HEBREW_KAPH,			// "hijk"
	HEBREW_LAMED,		HEBREW_MEM,			HEBREW_NUN,				0,							// "lmno"

	HEBREW_PE,			HEBREW_QOPH,		HEBREW_RESH,			HEBREW_SAMEKH,			// "pqrs"
	HEBREW_TETH,		0,						HEBREW_VAU,				0,							// "tuvw"
	HEBREW_TZADDI,		0,						HEBREW_ZAIN,			0,							// "xyz "
	0, 0, 0, 0,

	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,

	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
	0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,		0, 0, 0, 0,
};

const char Qabalah::hebrew2char[28] = "abgdhvzctiklmnsepxqrjfkmnpx";

